build_mini.sh is available in the official Dojo release 1.2!

If you are using 1.2.x, use build_mini.sh from the official repository:

http://svn.dojotoolkit.org/src/branches/1.2/util/buildscripts/build_mini.sh

In Dojo 1.3 and higher, build_mini.sh was removed and replaced with:

	* build parameters mini="true" and copyTests="false"
	* a post-build script named clean_release.sh (also available in 1.2),
		which does the same work as build_mini, though requires you run
		a standard build prior.
		
http://svn.dojotoolkit.org/src/util/trunk/buildscripts/clean_release.sh

A port of the original mini script to work with 1.2.3 is available here and was contributed by Sudheer:

http://dante.dojotoolkit.org/mini/release_1.2.3_mini.sh