How to make Screen Space Canvas collide with raycast?

I want my raycast to collide with the new GUI in unity 4.6.
How do I make it do so?

Raycasts collide with Colliders, so simply place a box collider on your UI system with the correct scale.