Weighing Bags of Coins Puzzle

The Puzzle:

Weighing Bags of Coins

You have eight bags, each of them containing 48 coins.

Five of these bags contain only true coins, the rest of them contain fake coins.

Fake coins weigh 1 gram less than the real coins. You do not know what bags have fake coins and what bags have real coins. You can use a scale with precision up to 1 gram. Making only one weighing and using the minimum number of coins, how can you find the bags containing the fake coins?

Do you have the answer? Check against our solution!