Havre you looked into the dojo build system? That's how you make your single minified js file. Pretty straightforward, I think? http://dojotoolkit.org/reference-guide/build/
Perhaps I'm too spoiled by jQuery UI Builder. I'd much rather prefer something like this where I can just pick the widgets I know I'm using: http://jqueryui.com/download