Tips for combining separate ADXL345 and L3G4200D on same board.

I am having trouble finding information on my inquiry. I have a ADXL345 breakout, as well as a L3G4200D Breakout, and I would like to integrate the two with a pro mini. I am going to use this for a stabilizer, and would love to incorporate them. If anyone has any tips that would be great, as I do not want to go with the MPU 6050, because I don't have one and want to use what I do have. Thanks
Sam

I mean the sensors on their respective breakout boards. Will the mpu6050 code work?