is available in the official Dojo release 1.2!

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

In Dojo 1.3 and higher, was removed and replaced with:

	* build parameters mini="true" and copyTests="false"
	* a post-build script named (also available in 1.2),
		which does the same work as build_mini, though requires you run
		a standard build prior.

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