OK, a radically different approach, using the API;
add_filter('autoptimize_js_do_minify','survivehive_ao_js_minify',10,1);
function survivehive_ao_js_minify() {
if (strpos($_SERVER['HTTP_USER_AGENT'],"Googlebot")!==false)
return false;
} else {
return true;
}
add this to your theme's functions.php (or better still; in a seperate plugin) and see if that works. it should not cause AO not to minify if the useragent is a googlebot one.
(i have not tested this myself yet)