Firstly, use code tags when posting scripts.
See this line:
SWITCH_NO_MINIMAP = 10 # Turn ON this switch to NOT SHOW minimap
That means that if you turn switch 10 ON then the minimap will not be shown. So all you have to do is turn that switch on for the maps where you want the minimap and off for the ones you don't. If you don't want to use switch 10 then you can use any other switch you want by changing the 10 in the above line to whatever switch you want to use.