OpenLayerer makes custom versions of OpenLayers which include only the parts that you want to use. You can fork this project on GitHub.
OpenLayerer 2 now includes many more options and dependency managment. It is still in beta, so please file issues on GitHub for any bugs you find.