One thing you might consider is to install the PHP "xdebug" extension in a development environment, set it to trace all function calls, and then as fully as possible (possibly through automated UI testing) exercise the entire application. You will then be able to analyze/parse the xdebug trace files to find all the files/functions used by the application.