There are WordPress plugins that optimize scripts on your site. They do this by aggregating, minifying and caching scripts and CSS styles sheets.

These plugins should allow you to manually exclude some files from the optimization process.

If you are using Toolset,  especially Forms, you should exclude the following scripts from optimization:

  • validation.js
  • codemirror.js
  • conditional.js
  • recaptcha-v2/api.js