that’s easy to do. I had posted a solution for showing all the fields from all the profile groups on a buddypress install which is here
You just need to modify the while loop, well, I have already modified it.
here you go
Let me know if it works for you or not