Title: Concatenate External Scripts
Last modified: August 21, 2016

---

# Concatenate External Scripts

 *  Resolved [mr_jonboy](https://wordpress.org/support/users/mr_jonboy/)
 * (@mr_jonboy)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/concatenate-external-scripts/)
 * I appreciate the work on this plugin as it appears to be one of the few that 
   doesn’t break pages on our site. We have tried W3 and others which have done 
   just that.
 * With the amount of plugins our site uses we have a ton of requests and it appears
   many of them are external. Looking at the DM dashboard about 40-50 scripts don’t
   combine and I am assuming is because they are external. I see the line in the
   DM description that reads, “By default excludes external scripts from being concatenated
   and minified, but they can be opted in via the dependency_minification_excluded
   filter.” I have commented this filter out but I’m guessing that is not the correct
   thing to do here as many of the scripts are still showing N/A for compression.
 * Can you help with this and/or let me know another way to further concatenate 
   our files?
 * Thank you,
    Jon
 * [http://wordpress.org/plugins/dependency-minification/](http://wordpress.org/plugins/dependency-minification/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/concatenate-external-scripts/#post-4272979)
 * You should be able to add this to your theme or to a plugin:
 * `add_filter( 'dependency_minification_excluded', '__return_false' );`

Viewing 1 replies (of 1 total)

The topic ‘Concatenate External Scripts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dependency-minification.svg)
 * [Dependency Minification](https://wordpress.org/plugins/dependency-minification/)
 * [Support Threads](https://wordpress.org/support/plugin/dependency-minification/)
 * [Active Topics](https://wordpress.org/support/plugin/dependency-minification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dependency-minification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dependency-minification/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/concatenate-external-scripts/#post-4272979)
 * Status: resolved