It's a little more complicated than that.
Scripts are registered with a "handle" that is some text string that may be quite difference to the js filename, and you need the handle to dequeue the script.
So, the date.js script, for example, is registered with the handle 'wptoolset-field-date', and you would dequeue it with:
wp_dequeue_script( 'wptoolset-field-date' );
So, you need to identify the handle before you can dequeue it, and you may find with a script like main.js that can be many such scripts added and you need to know which one (by handle) that it is you want to dequeue.
Also, an additional complication is dependencies.
So the handle for datepicker.min.js is 'jquery-ui-datepicker', but the following doesn't work, it still gets added to the page:
wp_dequeue_script( 'jquery-ui-datepicker' );
That's because other scripts may say they depend on it, in which case it will still get added to the page, and the only way to remove it is to identify the scripts which depend upon it, and see if it is okay to dequeue them first.
To help with this, you can dump the whole list of registered scripts and their dependencies to your debug.log and inspect it to identify the handles and the dependencies, using the following:
add_action( 'wp_print_scripts', 'ts_dequeue_scripts' );
function ts_dequeue_scripts(){
global $wp_scripts;
error_log(print_r($wp_scripts->registered, true));
}