Use wp_dequeue_script() and wp_deregister_script() with the script handle, hooked late so it runs after the script has been enqueued.

function lotgrafix_remove_scripts() {
    wp_dequeue_script( 'script-handle' );
    wp_deregister_script( 'script-handle' );
}
add_action( 'wp_enqueue_scripts', 'lotgrafix_remove_scripts', 100 );

Replace script-handle with the handle used when the script was registered.

«
»