W3 Total Cache has 4 locations to include the minified files. Since wp_localize_script()
hooks into wp_head()
(unless you specify in footer in your enqueue) you can use the before </body>
minify location and your script will have access to the variables set. On some occasions this has failed for me so I just exclude the script from minify.