Ugh those instructions broke my lightbox.
Those instructions clearly mention lightboxes as one of the top priority javascript to exclude from minification.
If you included it and W3 TC breaks it, you have to:
1) Check the instructions again
2) Simply remove the lightbox javascript file from the list of included files and clear the W3 TC (minify) cache.