Every included script must be changed so that dojo.provide("myown.exernal.script") is in the header. The dojo framework uses that to check dependencies.
Maybe you can use #include to include external scripts.
For the jquery includes see the calendar widget which contains extra conditions to prevent including jquery more than once. The complete custom script (widgets.js) is loaded for every mendix page so that can have impacts on the performance.
Edit: Duc is right, snippet from googlemapsoverview.js.
var googleAPILoad = mxui.dom.script({"src" : 'http://www.google.com/jsapi', "id" : 'GoogleLoadScript'});
don't forget uninitialize.
Thanks for the reply. What do you mean with #include?
How would one deal with that when the script is not modifiable for example when it is externally hosted (e.g. https://www.google.com/jsapi)?